package com.topisv.tms.service.document;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.QueryParamHolder;
import com.topisv.tms.entity.WaveSortBill;
import com.topisv.tms.repository.document.WaveSortDao;
import com.topisv.tms.service.base.BaseService;

@Component
@Transactional(readOnly=true)
public class WaveSortService extends BaseService{
	
	@Autowired
	private WaveSortDao waveSortDao;
	
	public Page<WaveSortBill> findWaveSortBill(QueryParamHolder paramHolder){
		Page<WaveSortBill> wavesortbill = findByJson(paramHolder, waveSortDao, WaveSortBill.class);
		return wavesortbill;
	}
	
}
